
<h3>
	<a href="#">
		<table style="width: 99%;">
			<tr>
				<td rowspan="2" style="padding: 5px 10px 5px 5px; width: 50px;">
					<img src="{ORDER_STATUS_IMAGE_HOOK}" align="absmiddle" />
				</td>
				<td><b>{CUSTOMER_NAME_HOOK}</b></td>
				<td class="AlignRight" style="width: 85px;">#{ID_HOOK}</td>
			</tr>
			<tr>
				<td style="color: {STATUS_COLOR_HOOK}; background-image: url('{PAYMENT_GATEWAY_IMG24_HOOK}'); background-position: right center; background-repeat: no-repeat; font-style: italic;">{STATUS_HOOK}</td>
				<td class="TotalAmount">{ORDER_AMOUNT_HOOK}</td>
			</tr>
		</table>
	</a>
</h3>
<div>
    <table class="order_details">
        <tr>
            <td class="tdHeader">Order Nr</td>
            <td>{ID_HOOK}</td>
            <td class="tdHeader">Order Date</td>
            <td>{ORDER_DATE_HOOK}</td>
        </tr>
        <tr>
            <td class="tdHeader">Customer</td>
            <td colspan="3"><a href="#" class="ViewCustomer" customerid="{CUSTOMER_ID_HOOK}">{CUSTOMER_NAME_HOOK}</a></td>
        </tr>
        <tr>
            <td class="tdHeader">Payment Gateway</td>
            <td colspan="3"><img src="{PAYMENT_GATEWAY_IMG24_HOOK}" title="{PAYMENT_GATEWAY_HOOK}" align="absmiddle" /> {PAYMENT_GATEWAY_HOOK}</td>
        </tr>
        <tr>
            <td colspan="4">&nbsp;</td>
        </tr>
        <tr>
            <td class="trHeader" colspan="2">Product Description</td>
            <td class="trHeader">Quantity</td>
            <td class="trHeader">Unit Price</td>
        </tr>
        
        <tbody>
        {ORDER_DETAILS_HOOK}
        </tbody>
        
        <tr>
            <td colspan="4">&nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">&nbsp;</td>
            <td class="tdHeader">Products:</td>
            <td class="amount">EUR {PRODUCTS_AMOUNT_HOOK}</td>
        </tr>
        <tr>
            <td colspan="2">&nbsp;</td>
            <td class="tdHeader">Shipping:</td>
            <td class="amount">EUR {SHIPPING_AMOUNT_HOOK}</td>
        </tr>
		<tr>
            <td colspan="2">&nbsp;</td>
            <td class="tdHeader">Discount:</td>
            <td class="amount">EUR {DISCOUNT_AMOUNT_HOOK}</td>
        </tr>
        <tr>
            <td colspan="2">&nbsp;</td>
            <td class="tdHeader">Total:</td>
            <td class="amount" style="border-top: 1px solid #ccc;"><b>EUR {ORDER_AMOUNT_HOOK}</b></td>
        </tr>
    </table>
</div>